home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: netcom.com!smryan
- From: smryan@netcom.com (@#$%!?!)
- Subject: Re: locking datafile
- Message-ID: <smryanDps7sy.73x@netcom.com>
- Organization: The Programmer formerly known as S M Ryan
- X-Newsreader: TIN [version 1.2 PL1]
- References: <4kmmrd$hma@usc.edu>
- Date: Sat, 13 Apr 1996 03:46:10 GMT
- Sender: smryan@netcom2.netcom.com
-
- : Is there a mechanism in c for locking a file so that
- : updating the file won't affect or allow other user to read
- : files until the updating is done!?!
-
- No.
-
- There are mechanisms in some operating systems. For unix, you
- can try fcntl(2).
- --
- The Queen, amused, in quiet power, | smryan@netcom.com PO Box 1563
- will draw the son to darkenned bower. | Cupertino, California
- Her face is fair, her fragrance rare, | (xxx)xxx-xxxx 95015
- with woven webs for wayward flower. | I don't use no smileys
-